//
//  YBBuyItemViewController.m
//  孕妙
//
//  Created by Raoy on 16/9/27.
//  Copyright © 2016年 是源科技. All rights reserved.
//

#import "YBBuyItemViewController.h"

@interface YBBuyItemViewController ()

@end

@implementation YBBuyItemViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = SYColor(245, 245, 245);
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, DeviceWidth, DeviceHeight)];
    self.title = nil;
    NSString *tempStr = @"";
    switch (self.btnTag) {
        case 10:
            break;
        case 11:
            tempStr = weixin_url;
            break;
        case 12:
            tempStr = weixin_url;
            break;
        case 13:
            break;
        case 14:
            tempStr = weixin_url;
            break;
        case 15:
            break;
        default:
            break;
    }
    
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:tempStr]];
    [webView loadRequest:request];
    [self.view addSubview:webView];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
